const URL = {
    // 生产环境
    PROD: ['https://localhost/', 'http://localhost/'],
    // 测试环境
    TEST: ['http://localhost/'],
  };
  
  // 后台接口的域名
  const API = {
    // 生产环境
    PROD: {
      HostName: 'https://localhost',
    },
    // 测试环境
    TEST: {
      HostName: 'https://localhost',
    }
  };
  
let HostName = API.TEST.HostName || '';

function checkURL(url){
    return window.location.href.indexOf(url) === 0;
}

Object.keys(URL).some((key)=>{
    const value = URL[key];

});

export  {HostName}
